home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / sco-xenix < prev    next >
Encoding:
Text File  |  1995-07-25  |  66.8 KB  |  1,623 lines

  1. Subject: Welcome to comp.unix.xenix.sco [monthly FAQ posting]
  2. Newsgroups: comp.unix.xenix.sco,news.answers
  3. From: chip@chinacat.unicom.com (Chip Rosenthal)
  4. Date: Mon, 26 Sep 1994 00:15:24 GMT
  5.  
  6. Archive-name: sco-xenix
  7. News-answers-archive-name: sco/xenix
  8. Posting-frequency: monthly
  9. Version: 1.58
  10.  
  11. @(#) sco-xenix 1.58 94/08/29 06:15:57
  12.  
  13. ------------------------------
  14.  
  15. Subject: ***** Introduction
  16.  
  17. Welcome to comp.unix.xenix.sco.  This newsgroup is about the Xenix
  18. operating system from the Santa Cruz Operation (SCO).  If you have an
  19. SCO Xenix question, then you've come to the right place.
  20.  
  21. This is NOT the newsgroup for SCO Unix or Open Desktop questions.  If
  22. you want to talk about other SCO operating systems, please show some
  23. courtesy and use an appropriate newsgroup, such as comp.unix.pc-clone.32bit.
  24. (Hey!  Don't blame me.  I voted against that silly name.)  This is also
  25. NOT the right place for questions about Xenix implementations from
  26. other vendors.  Use comp.unix.xenix.misc.
  27.  
  28. Certain questions are asked frequently on the net.  Frequently asked
  29. questions (FAQs) get old and boring after a while.  We can stamp out
  30. FAQs in your lifetime!  Please review this message before posting your
  31. question to comp.unix.xenix.sco.
  32.  
  33. If you haven't already done so, please read the periodic postings in
  34. news.announce.newusers entitled "A Primer on How to Work With the Usenet
  35. Community", "Answers to Frequently Asked Questions about Usenet" and
  36. "Hints on writing style for Usenet".  You should also review the
  37. comp.unix.questions FAQ postings.  These answer general questions,
  38. such as `How do I delete a file with funny characters in the name?'
  39. and `How can I change my shell prompt?'  C programmers should check
  40. out the FAQ in comp.lang.c.
  41.  
  42. Whenever we talk about Xenix here, we really mean SCO Xenix System V.
  43. Our comments often won't apply to the other kinds of Xenix.  Also, be
  44. particularly careful if you use Xenix/286.  It's been ages since we've
  45. used it and some of our suggestions might not apply.
  46.  
  47. This message is maintained and posted monthly by Chip Rosenthal.  Your
  48. corrections, additions, and comments are encouraged.  Please mail them
  49. to chip@chinacat.unicom.com.  These questions and answers were written
  50. by Chip Rosenthal, Jeff Liebermann, Ronald Florence, Chip Salzenberg,
  51. Ronald Khoo, Vic Michael, and Stephen Bleazard.  Helpful contributions
  52. and comments have been provided by Andrew Phillips, Peter Funk, Paul
  53. Warren, Lawrence Kirby, Kai Ruottu, Ray Malitzke, Chet Creider, Greg
  54. Lehey, and Marc Brumlik.
  55.  
  56. Please examine the date near the top of this message.  Any version
  57. older might be obsolete.  The most up-to-date version of this FAQ may
  58. be retrieved from the following locations:
  59.  
  60.     The World Wide Web - http://www.unicom.com/
  61.  
  62.       Select "FAQs We Publish" from the main menu.  Includes the FAQ
  63.       by section and by question, as well as keyword searches.
  64.  
  65.     The Internet Gopher - gopher://gopher.unicom.com/
  66.  
  67.       Select "FAQs We Publish" from the main menu.  Includes the FAQ
  68.       by section and by question, as well as keyword searches.
  69.  
  70.     Anonymous FTP - ftp.unicom.com:pub/FAQ/sco-xenix
  71.  
  72.     Email Archive Server - archive-server@unicom.com
  73.  
  74.       Use "Subject: send FAQ/sco-xenix" header to retrive the FAQ.
  75.       Body of message is ignored.  Use "Subject: help" for more info.
  76.  
  77. The most recently posted copy of this message also is available via
  78. anonymous FTP to rtfm.mit.edu in the "/pub/usenet/comp/unix/xenix/sco"
  79. directory.  It also may be retrieved via e-mail.  Send a message to
  80. "mail-server@rtfm.mit.edu" that says "send usenet/news/answers/sco/xenix".
  81.  
  82.  
  83. ------------------------------
  84.  
  85. Subject: ***** Table of Contents
  86.  
  87.  
  88. ===> Product Questions:
  89.  
  90.     QA1.  What is the difference between Unix and Xenix?
  91.     QA2.  What is the minimum system required to run Xenix?
  92.     QA3.  Should I buy Unix or Xenix?
  93.     QA4.  What are the current Xenix versions?
  94.     QA5.  Where can I get Xenix fixes?
  95.     QA6.  I'm using an older Xenix/386 version.  What fixes do I need?
  96.     QA7.  Does SCO have a BBS?
  97.  
  98.  
  99. ===> General Xenix Questions:
  100.  
  101.     QB1.  Can't boot.  My system used to work.
  102.     QB2.  Configure(ADM) fails when I modify my system name.
  103.     QB3.  The system is crashing with `parity error' panics.
  104.     QB4.  Login fails without prompting for password.
  105.     QB5.  Can I use `gcc' instead of buying the SCO Development System?
  106.     QB6.  Program `foobar' dumps core with a stack overflow. [Xenix 286]
  107.     QB7.  Spell cannot initialize hash table.
  108.     QB8.  Will my laser printer work with the Text Processing Package?
  109.     QB9.  Where is crypt?
  110.     QB10. How can email handle `internet' addresses or use a `smart host'?
  111.     QB11. Where can I find freely available software for Xenix?
  112.     QB12. Why don't my arrow keys work in `vi'?
  113.     QB13. Why does `cron' die periodically?
  114.  
  115.  
  116. ===> Disk and Filesystem Questions:
  117.  
  118.     QC1.  Can I use a disk bigger than 1024 cylinders?
  119.     QC2.  Why won't Xenix recognize my SCSI disk?
  120.     QC3.  Where is the `/u' filesystem I created?
  121.     QC4.  `WARNING!! - mounting: <usr> as <news>' message when booting.
  122.     QC5.  `POSSIBLE FILE SIZE ERROR' when running `fsck'.
  123.     QC6.  Is disk fragmentation curable?
  124.     QC7.  Can I put a CD-ROM drive on my Xenix system?
  125.  
  126.  
  127. ===> Communications Questions:
  128.  
  129.     QD1.  How do I add more than 2 COM ports?
  130.     QD2.  How do I set a 19,200 baud rate?
  131.     QD3.  How can I have more mscreen(C) sessions?
  132.     QD4.  Upgraded to 2.3.4 and flow control broke with mscreen(C).
  133.     QD5.  Terminals act funny, modems drop characters, help!!
  134.     QD6.  Does Xenix support 16550A UARTs?
  135.     QD7.  How do I increase the number of `clists'?
  136.     QD8.  How do I change the 16550A trigger level?
  137.     QD9.  How do I adjust the `ttyhog' value?
  138.     QD10. BSD based uucp can't connect to my machine.
  139.     QD11. uucp truncates my system name to seven characters!
  140.     QD12. What is the uucp `windows' patch?
  141.     QD13. uucp gives `alarm' messages, eventually dies.
  142.  
  143.  
  144. ===> Display and Graphics Questions:
  145.  
  146.     QE1.  How come Xenix won't recognize my VGA display?
  147.     QE2.  How can I do a printscreen under Xenix?
  148.     QE3.  How can I blank the console display when it is idle?
  149.     QE4.  How can I do graphics under Xenix?  What programs are available?
  150.     QE5.  CGI graphics mangles grey scale on a mono VGA.
  151.     QE6.  CGI graphics fail on a LaserJet in landscape mode.
  152.  
  153.  
  154. ===> Networking Questions:
  155.  
  156.     QF1.  What do I need to run TCP/IP?
  157.     QF2.  What do I need to run NFS?
  158.     QF3.  How can I run uucp over TCP/IP?
  159.     QF4.  What does "NOTICE: tcp sum: src C06C6901, sum 0000B004" mean?
  160.  
  161.  
  162. ===> Xenix and MS-DOS Interoperability Questions:
  163.  
  164.     QX1.  Can Xenix share a hard disk with MS-DOS?
  165.     QX2.  Can Xenix access MS-DOS disks?
  166.     QX3.  Can Xenix execute MS-DOS programs?
  167.     QX4.  Can MS-DOS execute Xenix programs?
  168.  
  169.  
  170. ===> The (in)Famous Xenix Cheat-Sheet:
  171.  
  172.     QZ1.  What the $%*&! is happening?
  173.  
  174.  
  175. ------------------------------
  176.  
  177. Subject: ***** SECTION A - Product Questions
  178.  
  179.  
  180. QA1.  What is the difference between Unix and Xenix?
  181.  
  182.     Xenix is Unix -- or at least one flavor of it.  In the late 70's,
  183.     Microsoft licensed the Unix sources from AT&T and ported them to
  184.     a number of platforms.  In those days, AT&T would license the Unix
  185.     software but not the Unix name, thus each company had to invent
  186.     their own name.  Microsoft picked Xenix.  Microsoft did not sell
  187.     Xenix to end users.  Instead, they licensed the software to OEMs
  188.     (Intel, Tandy, Altos, SCO, etc.) who provided a finished end-user
  189.     package.  Microsoft no longer supports Xenix, and in fact never
  190.     even offered a 286 or 386 version.
  191.  
  192.     Several Unix implementations for the PC architecture have been
  193.     tried with varying levels of success.  SCO Xenix for the PC/XT
  194.     was one.  Nearly all of the PC/XT implementations were clunkers,
  195.     because the machine lacked the hardware necessary for robust Unix
  196.     operations.  The PC/AT offered hardware memory protection, and
  197.     SCO Xenix/286 took advantage of it.  SCO Xenix/386 added demand
  198.     paged virtual memory.  These added features made multiuser PCs
  199.     viable, and SCO Xenix popular.
  200.  
  201.     SCO Xenix starts with a Unix System III base, throws in several
  202.     Berkeley enhancements, and adds features to obtain conformance to
  203.     the System V Interface Definition (SVID).  Today, the bulk of the
  204.     code is from System V.  Xenix/386 even has capabilities to execute
  205.     Unix programs.  It differs, however, in many of the SVID `optional'
  206.     areas people tend to expect of a full System V.  SCO Xenix lacks
  207.     a real `inittab', for example.  You need to go to a real System V,
  208.     such as SCO Unix, for all these features.
  209.  
  210.  
  211. QA2.  What is the minimum system required to run Xenix?
  212.  
  213.     You can build a minimal, single-user Xenix system with an 80386SX
  214.     computer, 2MB to 4MB RAM, and 40MB hard disk.  A pretty spiffy
  215.     system, suitible for development, would be an 80386DX computer
  216.     with 4MB RAM and 80MB hard disk.  Additional resources (more speed,
  217.     more RAM, more disk) will be required to support additional users,
  218.     large applications, networking, or X windows.  Xenix/286 will run
  219.     on a PC/AT, but you will quickly become frustrated with its
  220.     limitations, especially if you are a programmer.
  221.  
  222.  
  223. QA3.  Should I buy Unix or Xenix?
  224.  
  225.     If you are happy running Xenix now, don't rush to throw it away.
  226.     Xenix will be around for some time.  If, however, you are new to
  227.     multi-user computing, you should consider Unix System V Release
  228.     3.2 or Release 4.X.
  229.  
  230.     There are a number of reasons why Xenix is slowly fading.  It is
  231.     a mature product.  There will be few future enhancements.  Fewer
  232.     and fewer vendors are supporting it.  Nearly every program written
  233.     for Xenix will run under Unix too.  Unix offers a lot more goodies
  234.     and better performance than Xenix.
  235.  
  236.     One advantage to Xenix is that it requires less memory and disk
  237.     space.  At today's hardware prices that usually isn't a big deal.
  238.     There are certain applications, however, where this is attractive.
  239.  
  240.     Although Unix has a lot more to offer, a number of Xenix enthusiasts
  241.     wouldn't switch if you gave them a free copy of Unix.  They would
  242.     gladly forego the new features to avoid the bloat of System V.
  243.  
  244.  
  245. QA4.  What are the current Xenix versions?
  246.  
  247.         Package                 Version         `perms' file
  248.         ----------------------  --------------  ---------------------------
  249.         Xenix Runtime System    2.3.4           inst, dsmd, tpmd, rts, ext
  250.         Xenix Runtime (286)     2.3.2           inst, dsmd, tpmd, rts, ext
  251.         Development System(386) 2.3.1           soft
  252.         Development System(286) 2.2.1           soft
  253.         CGI                     1.1.0           cgi
  254.         Text Processing         2.3.0           text
  255.         Manual Pages            2.3.0           man
  256.         VP/ix                   1.2.0           vpix
  257.         TCP/IP Runtime          1.2.0           tcprt
  258.         TCP/IP Development      1.0.1           tcpdev
  259.         Streams Runtime         1.0.0           streamsrt
  260.         Streams Toolkit         1.0.0           streamstk
  261.         Int'l Supplement(386)   2.1.0           sup.os
  262.         Int'l Supplement(286)   2.0.0           sup.os
  263.  
  264.     The perms column lists files found in the /etc/perms directory.
  265.     The `#rel=' line in these files will tell you what version you
  266.     have.
  267.  
  268.  
  269. QA5.  Where can I get Xenix fixes?
  270.  
  271.     SCO provides Support Level Supplements (SLS) at no charge.  There
  272.     are several places that make them available through anonymous uucp
  273.     and anonymous ftp.
  274.  
  275.     Internet users may retrieve SLSs by anonymous ftp from `ftp.sco.com'
  276.     (see /SLS/info) and `ftp.uu.net' (see /vendor/sco/SLS/info).
  277.  
  278.     SLSs may be downloaded with anonymous uucp from SCO's `sosco'
  279.     machine.  To retrieve a shopping list of available SLSs, add one
  280.     of the following to your `/usr/lib/uucp/Systems' file:
  281.  
  282.         # Telebit (PEP) modem
  283.         sosco Any ACU 19200 14084291786u gin:-BREAK-gin:-BREAK-gin: uusls
  284.         # Hayes V-Series modem
  285.         sosco Any ACU 19200 14084274470 gin:-BREAK-gin:-BREAK-gin: uusls
  286.         # 1200 or 2400 bps modem
  287.         sosco Any ACU 300-2400 14084253502 gin:-BREAK-gin:-BREAK-gin: uusls
  288.  
  289.     European folks might prefer to use `scolon' instead.  From within
  290.     the UK, try:
  291.  
  292.         scolon Any ACU 300-19200 0923210911u \
  293.                 gin:-BREAK-gin:-BREAK-gin: uusls word: bbsuucp
  294.  
  295.     Outside the UK, replace the leading zero with the country code.
  296.     A 9600bps Trailblazer answers this line.  Delete the `u' at the
  297.     end of the phone number if you aren't using a Telebit modem.
  298.     Files are as on `sosco' but tend to be a week or so behind.  Also,
  299.     replace `sosco' with `scolon' `sosffm' in the examples below.
  300.  
  301.     In Germany, you can use:
  302.  
  303.         sosffm Any ACU 300-9600 069-50910736 \
  304.                 "" \r ogin:-BREAK-ogin: uusls sword: bbsuucp
  305.  
  306.     This modem supports V.32 transfers, but not PEP.  We've been told
  307.     this system is often behind the other sites.
  308.  
  309.     [LATE BREAKING NEWS:  We've been told that "sosffm" has moved.
  310.     If anybody knows where it went, please let the FAQ editor
  311.     know.  Thanks. -ed]
  312.  
  313.     Add to your `/usr/lib/uucp/Permissions' file:
  314.  
  315.         # REQUEST files only - i.e. cannot send to sosco.
  316.         # rmail required to get bounced mail and error messages.
  317.         MACHINE=sosco SENDFILES=yes REQUEST=no COMMANDS=rmail:uucp \
  318.                 WRITE=/usr/spool/uucppublic:/tmp
  319.  
  320.     To retrieve an SLS listing to your machine as /tmp/info:
  321.  
  322.         uucp sosco\!/usr/spool/uucppublic/SLS/info /tmp/info
  323.  
  324.     This file also provides directions on retrieving, unarchiving,
  325.     and uncompressing the SLSs.  There is also a `descriptions' file
  326.     with additional details on the available SLSs.
  327.  
  328.     SLSs are also available on `uunet'.  For example, to get the `info'
  329.     file, run:
  330.  
  331.         uucp uunet\!~/vendor/sco/SLS/info /tmp/info
  332.  
  333.     Most of these machines also have Enhanced Feature Supplements (EFSs),
  334.     games and graphics programs, and new termcap and terminfo terminal
  335.     definitions in addition to SLS.  Look for an `info' or `README' file
  336.     one directory up from the `SLS' directory for more info.
  337.  
  338.  
  339. QA6.  I'm using an older Xenix/386 version.  What fixes do I need?
  340.  
  341.     Development System
  342.  
  343.     - 2.3.0 or older    An upgrade to 2.3.1 must be purchased from SCO.
  344.  
  345.     - 2.3.1             Install `lng244'.
  346.  
  347.     Operating System
  348.  
  349.     - 2.2.X or older    An upgrade to 2.3.4 must be purchased from SCO.
  350.  
  351.     - 2.3.0 or 2.3.1    SCO would like you to purchase a 2.3.4 upgrade.
  352.                         The `xnx137' fix would get you to 2.3.2, but SCO
  353.                         does not provide it any longer.
  354.  
  355.     - 2.3.2             Install `xnx296a' to get to version 2.3.3.
  356.  
  357.     If you have VP/ix and installed update UFJ, then your kernel is
  358.     already at 2.3.3.  None the less, you still want `xnx296a'.  The
  359.     `xnx296a' update is also known as UFN, and replaces UFJ and UFM.
  360.     UFM was also known as the `xnx155b' update.
  361.  
  362.     You must install the development system before `xnx296a'.
  363.  
  364.     `xnx296a' provides you with most of the important fixes in 2.3.4.
  365.     You will lack some of the nice enhancements such as updated man
  366.     pages and the Korn shell.
  367.  
  368.     SCO preconfigures the kernel for a very minimal system.  You should
  369.     tune the kernel for your exact system configuration.  See the
  370.     "Tuning Kernel Parameters" chapter in the System Administrator's
  371.     Guide.
  372.  
  373.  
  374. QA7.  Does SCO have a BBS?
  375.  
  376.     Yes.  The SOS Support BBS is $95/year.  This is a good deal.  You
  377.     can:
  378.  
  379.         - download fixes, suggestions, and hints.
  380.         - keyword access to the support problems database.
  381.         - retrieve product info, release status, and hardware compatibility.
  382.         - get support via email.
  383.         - subscription to quarterly Discover newsletter.
  384.  
  385.     You can dial-in with a terminal program such as `cu' -- uucp is
  386.     not required.  Access is read-only, but most questions can be
  387.     answered by the support database.  SCO currently doesn't provide
  388.     SOS access to most overseas users.
  389.  
  390.     Previous versions of this FAQ suggested joining the `SCO Developer
  391.     Alliance'.  For $100/year, it gave you BBS access along with other
  392.     benefits.  Somebody within SCO must have finally come to their
  393.     senses and realized they were providing a worthwhile and valuable
  394.     service to their customers.  Can't have that!  So, effective Jan
  395.     94, they jacked up the price almost 500%, thus ensuring no product
  396.     offered by SCO could ever be remotely confused with a bargain.
  397.     If you are a member of a Fortune 500 company, you might want to
  398.     contact <devrel@sco.com> for info.  If you are a small-time
  399.     developer, then kiss off, loser.
  400.  
  401.  
  402. ------------------------------
  403.  
  404. Subject: ***** SECTION B - General Xenix Questions
  405.  
  406.  
  407. QB1.  Can't boot.  My system used to work.
  408.  
  409.     Check the A: drive.  If there is a floppy in there your system
  410.     might spew garbage on the monitor or hang during boot.  If this
  411.     problem occurs right after rebuilding a new kernel, go read the
  412.     FAQ on disks bigger than 1024 cylinder.
  413.  
  414.  
  415. QB2.  Configure(ADM) fails when I modify my system name.
  416.  
  417.     If you select a site name of two, three, or four characters,
  418.     `configure' will fail with an error message:
  419.  
  420.         space.asm(XXX): error A2050: Value out of range
  421.  
  422.     If the development system is installed, there is a workaround.
  423.     Do the following:
  424.  
  425.         - cd /usr/sys/conf
  426.  
  427.         - Edit `xenixconf'.  Search for the `nodename' line and enter
  428.           the desired system name between the double quotes.  For
  429.           example, for machine name = `foo' this line should read:
  430.  
  431.               nodename             "foo"
  432.  
  433.         - Similarly, edit the `master' file and correct the `nodename'
  434.           line.  For machine name = `foo' it should read:
  435.  
  436.               nodename  NODE      "foo"
  437.  
  438.         - Run `make'.  This will rebuild the kernel data files and
  439.           then link a new kernel.
  440.  
  441.         - Run `./hdinstall' to install the new kernel.
  442.  
  443.     Reboot the system, and the new node name should be in effect.  To
  444.     verify this, run `uname -a' after rebooting.
  445.  
  446.     This bug has been fixed in 2.3.4.
  447.  
  448.  
  449. QB3.  The system is crashing with `parity error' panics.
  450.  
  451.     Everybody knows there are eight bits to a byte.  Why, then, do
  452.     PCs use 9-bit wide memory?  That last bit is a parity check bit.
  453.     It lets the system detect when data get corrupted while sitting
  454.     in memory or in transit to the CPU.
  455.  
  456.     Prior to Xenix 2.3.3, parity errors were silently ignored.  In
  457.     these releases the system would continue to run -- for a while
  458.     anyway.  These days, if a parity error is detected the system
  459.     will panic immediately and say:
  460.  
  461.         PANIC: memory failure - parity error
  462.  
  463.     Like the message says, this is almost always caused by memory
  464.     problems.  If it happens, run a good memory diagnostic overnight
  465.     to try to locate the problem.  Keep the cover on the computer
  466.     while running diagnostics; heat tends to push a marginal memory
  467.     chip into failure.  Similarly, running the system with the cover
  468.     off might make the problem go away.  If it does, possible causes
  469.     are marginal chips or bad ventilation.
  470.  
  471.     This problem can also be caused by a marginal power supply.  Xenix
  472.     boxes often have more power hungry peripherals than your run of
  473.     the mill MS-DOS PC.  For example, suspect the power supply if the
  474.     panics occur as soon as the tape drive starts spinning.
  475.  
  476.  
  477. QB4.  Login fails without prompting for password.
  478.  
  479.     If /dev/tty is missing or incorrect, you will get a `Login incorrect'
  480.     message without ever being prompted for a password.  For security
  481.     reasons, the `login' program goes directly to /dev/tty to ensure
  482.     the password comes from the keyboard.  Your `tty' device should
  483.     look something like:
  484.  
  485.         crw-rw-rw-   2 bin      bin        3,  0 Oct 24 04:09 /dev/tty
  486.  
  487.     If necessary, use the `mknod' command to recreate it.
  488.  
  489.  
  490. QB5.  Can I use `gcc' instead of buying the SCO Development System?
  491.  
  492.     Yes, but the task is bigger than you think.  A compiler alone
  493.     doesn't do any good if you lack header files, libraries, linker,
  494.     etc.  Don't forget about make, yacc, lex, etc.  Fortunately, the
  495.     repertoire of GNU software has grown to the point where you can
  496.     fill in all these pieces.  Many folks, particularly Steve Bleazard,
  497.     Ronald Khoo, and Kai Ruottu, have done a lot of work getting `gcc'
  498.     and the GNU utilities running on Xenix.  So, with anonymous FTP
  499.     access and a little elbow grease, you can do it.
  500.  
  501.     Steve and Ronald provided the first widely available kit to use
  502.     gcc under Xenix.  Their package was based on the gcc-1.40 release.
  503.     The most recent version (we know of) available for SCO Xenix is
  504.     gcc-2.5.7, ported by Kai.  The Xenix-specific patches are available
  505.     on `ftp.funet.fi:/pub/unix/386ix/xenix/gcc/gcc257.xenix', as well
  506.     as unix.secs.oakland.edu.
  507.  
  508.     An alpha test version of a `libc' for Xenix is available from
  509.     kate.ibmpcug.co.uk (in /ftp/pub/xenix/libc) and unix.secs.oakland.edu
  510.     (in /pub/xenix); files XLIBC.README.Z and xlibc.shar.Z.  It is
  511.     based on the Berkeley Networking Release 2 tape.  This package
  512.     was developed for use with the gcc-1.40 kit, but might be of use
  513.     with more recent versions too.
  514.  
  515.  
  516. QB6.  Program `foobar' dumps core with a stack overflow. [Xenix 286]
  517.  
  518.     Xenix/286 programs request a fixed amount of space for the stack
  519.     in the executable file header.  A program that exceeds this limit
  520.     will crash with a core dump.  To fix, change the header to ask
  521.     for more stack space.  You can recompile your programs with the
  522.     `-F' flag to increase the stack size.  You can change the stack
  523.     size of existing programs by running `fixhdr' with the `-F' flag.
  524.     This is not a problem on 80386 binaries that use a variable stack.
  525.  
  526.  
  527. QB7.  Spell cannot initialize hash table.
  528.  
  529.     The `spell' script (included in the optional Text Processing
  530.     package) uses an 8086 binary.  It needs to stuff a bunch of data
  531.     into a single 64K segment.  If you exceed this limit, you will
  532.     get an error saying something like:
  533.  
  534.         table = malloc(0xc848) fails
  535.         sbrk(0) = 0x3868
  536.         spell: cannot initialize hash table
  537.  
  538.     You can usually get enough space for `spell' to run by clearing
  539.     out your environment first.  To do this, add the following line
  540.     near the top of the `/usr/bin/spell' script:
  541.  
  542.         unset `env | sed -e '/^PATH=/d' -e '/^PS1=/d' -e 's/=.*//'`
  543.  
  544.  
  545. QB8.  Will my laser printer work with the Text Processing Package?
  546.  
  547.     Xenix `troff' is based on a version written long before the advent
  548.     of laser printers.  The only thing old troff understands is C/A/T
  549.     typesetters.  Chris Lewis's `psroff' allows old troff to work with
  550.     various devices, including Postscript and LaserJet printers.
  551.     Version 3.0 is available from the comp.sources.unix archives.
  552.     Another alternative is Rick Richardson's `jetroff', available in
  553.     the comp.sources.misc archives.
  554.  
  555.     For production work, consider purchasing a device independent
  556.     troff.  Some of the suppliers of `ditroff' are Elan, Image Network,
  557.     Leverage, and SoftQuad.
  558.  
  559.     Another alternative is the `groff' package by the Free Software
  560.     Foundation.  You can find it in any of the FSF archives -- but
  561.     you will need `g++' to compile it.  You will still need a backend
  562.     program to use a LaserJet with `groff'.  Some possibilities are
  563.     `psroff', `jetroff', and `dvi2xx' on ftp.wu-wien.ac.at.
  564.  
  565.  
  566. QB9.  Where is crypt?
  567.  
  568.     The DES encryption algorithm, the basis for `crypt', is categorized
  569.     by the US Government as munitions.  (Three cheers for the cold
  570.     war!)  SCO removes the crypt(S) procedure and crypt(C) command
  571.     from Xenix so it may be exported.  US domestic customers may
  572.     contact SCO to obtain SLS LNG190B.  If you simply need a crypt(S)
  573.     procedure to compile programs that do password checking, you may
  574.     get the SLS LNG255B `International Crypt SLS' from any of the
  575.     aforementioned archive sites.  This provides a crypt(S) procedure
  576.     that supports encryption but not decryption, and it does not
  577.     include the crypt(C) command.  A number of non-domestic archive
  578.     sites, for example the European GNU mirror sites, carry `crypt'
  579.     replacements that were developed outside the US to avoid this
  580.     export silliness.
  581.  
  582.  
  583. QB10.  How can email handle `internet' addresses or use a `smart host'?
  584.  
  585.     Neither the SCO Xenix mail transport (/usr/lib/mail/execmail) nor
  586.     the mail program (/usr/bin/mail) can handle so-called `internet'
  587.     addresses (e.g. joe@acme.com).  Nor can they use a `smart host'
  588.     system to route your email to its final destination.  If you want
  589.     to add these features, you need to install a replacement transport
  590.     and reconfigure the mailer to use this transport.  For simple uucp
  591.     connectivity, we recommend smail2.5 (archive name `smail3' published
  592.     in comp.sources.unix volume 11).  If you also need network
  593.     connectivity (e.g. SMTP mail) then you'll need a more full-featured
  594.     mailer such as smail3.1, sendmail, or MMDF.
  595.  
  596.     Although smail2.5 fits right into the SCO mail system, some
  597.     modifications and installation tricks are required.  Both Chip
  598.     Salzenberg (see the comp.sources.misc archives) and Chip Rosenthal
  599.     (contact chip@chinacat.unicom.com) have provided solutions.
  600.  
  601.     Whatever approach you use, you must tell /usr/bin/mail to pass
  602.     messages off to execmail for delivery rather than handling them
  603.     itself.  Do this by adding a line which says `set execmail' to
  604.     the /usr/lib/mail/mailrc file.  You might also think about adding
  605.     a nice, full-screen mailer program such as Elm or Mush.
  606.  
  607.  
  608. QB11.  Where can I find freely available software for Xenix?
  609.  
  610.     Many of the freely available programs on archive sites and published
  611.     on Usenet will run under Xenix with little or no modification.  Assuming
  612.     you have the Xenix Development System to compile it!  See news.answers
  613.     and comp.archives for information on archive sites.
  614.  
  615.     The following systems maintain software archives that specialize in Xenix.
  616.  
  617.     anomaly
  618.  
  619.        Administrator:   Michael P. Deignan <mpd@anomaly.sbs.COM>
  620.        Description:     Source code for SCO Xenix, Unix, and ODT
  621.        FTP Access:      anomaly.sbs.risc.net [155.212.2.2], login=anonymous
  622.                           information in /SOFTLIST
  623.        UUCP Access:     1-401-455-0347 (PEP), 331-3706 (V.32bis)
  624.                           login=xxcp, passwd=xenix, information in ~/SOFTLIST
  625.        Mail Server:     send email to "snarf@anomaly.sbs.com" with a Subject 
  626.                           of "snarf" and the lines "snarf address <addr>"
  627.                           (replace <addr> with your email address) and "snarf
  628.                           help" to receive more information
  629.        Comments:        ftp is via serial connection so be patient, number of
  630.                           connections limited to prevent congestion
  631.  
  632.        Mirror Sites:    sco-archive.maxcy.brown.edu:/pub/anomaly-mirror
  633.  
  634.     oakland.edu
  635.  
  636.       Administrator:    Ron Srodawa <srodawa@vela.acs.oakland.edu>
  637.       Description:      SCO Xenix ports, particularly GNU software
  638.       FTP Access:       unix.secs.oakland.edu [141.210.180.2],
  639.                             login=anonymous, files in /pub/xenix
  640.  
  641.     wimsey
  642.  
  643.       Administrator:    Stuart Lynne <sl@wimsey.com>
  644.       Description:      SLSs, SCO Unix (not Xenix) software in `custom' format
  645.       FTP Access:       ftp.wimsey.bc.ca [192.48.234.1], login=anonymous,
  646.                             information in /READ.ME.FIRST, /ls-lR.Z
  647.       UUCP Access:      1-604-939-4782 (PEP), 1-604-937-7411 (V.32bis),
  648.                             1-604-939-4756 (2400bps), login=nuucp, passwd=nuucp,
  649.                             information in ~ftp/READ.ME.FIRST, ~ftp/ls-lR.Z
  650.       Guest Access:     same phone numbers, login=guest, passwd=guest
  651.       Comments:         ftp is via serial connection so be patient, mostly
  652.                             Unix oriented but some of it might work with Xenix
  653.  
  654.  
  655. QB12.  Why don't my arrow keys work in `vi'?
  656.  
  657.     For versions 2.3.3 and prior, probably because your `termcap'
  658.     entry does not have then defined properly.  For version 2.3.4,
  659.     it's because `vi' is broke.  If you have an older version of Xenix
  660.     laying around, you might consider grabbing `vi' off of it instead.
  661.     Note, however, that 2.3.4 `vi' gets its terminal information from
  662.     the `terminfo' database, while prior versions use `termcap'.
  663.  
  664.  
  665. QB13.  Why does `cron' die periodically?
  666.  
  667.     Because of a bug that gets triggered by looooong periods of
  668.     inactivity.  The problem is that if you don't give `cron' something
  669.     to do, an internal counter overflows and it dies.  The solution?
  670.     Give it something to do!  Use `crontab' to add something like this:
  671.  
  672.         0 * * * * /bin/true
  673.  
  674.     That runs the `true' command once an hour, on the hour.
  675.  
  676.  
  677. ------------------------------
  678.  
  679. Subject: ***** SECTION C - Disk and Filesystem Questions
  680.  
  681.  
  682. QC1.  Can I use a disk bigger than 1024 cylinders?
  683.  
  684.     Yes.  However, your root filesystem cannot extend beyond the 1024th
  685.     cylinder, because that's as far as the BIOS can reach when booting
  686.     the system.  The BIOS is bypassed after Xenix boots, so cylinders
  687.     beyond 1024 can be accessed once Xenix is running.  It is not
  688.     necessary to use a sector translation mode controller to reduce
  689.     the number of cylinders.  The translation mode is very slow.
  690.  
  691.  
  692. QC2.  Why won't Xenix recognize my SCSI disk?
  693.  
  694.     Not all versions of Xenix support SCSI.  Those that do only support
  695.     certain SCSI adapters.  First, verify your N1 floppy says `Type:
  696.     386GT' and not `Type: 386AT'.  The AT version of Xenix (now
  697.     obsolete) does not include any SCSI support.
  698.  
  699.     The GT version supports a limited number of SCSI host adapters.
  700.     The Adaptec AHA-154x is supported.  We've also used compatibles
  701.     such as the Buslogic BT-542B.  2.3.4 added support for the
  702.     WD-7000-FASST2.  If you've got something different, you have to
  703.     get a driver from the board vendor.  The `SCO Hardware Compatibility
  704.     Guide' (contact SCO sales for one) should be consulted whenever
  705.     you have any hardware compatibility questions.
  706.  
  707.     Some typical installation mistakes are:
  708.  
  709.     - SCSI ID jumper for the root (boot) hard disk must be ID=0.
  710.     - The BIOS must be set for drive C:=NONE in the CMOS setup program.
  711.     - I/O port, memory address, or interrupt misconfiguration/conflict.
  712.     - Terminating resistors installed only at ends of ribbon cable.
  713.     - The parity jumper should be enabled on all drives and controllers.
  714.  
  715.     A word on terminating resistors:  Terminators must be installed on
  716.     the two devices at the end of the SCSI chain.  If you have no external
  717.     devices then one end of the chain will be the SCSI adapter -- so it
  718.     gets terminators.  The last device on the ribbon cable also needs
  719.     terminators.  The terminators must be removed from everything else on
  720.     the SCSI chain.
  721.  
  722.     Note that some SCSI disk controllers mimic the standard ST-506
  723.     interface.  No special support is required for them; Xenix boots
  724.     thinking you've got a plain old disk controller.  See the instructions
  725.     that came with your controller for details on cabling, strapping,
  726.     terminating, etc.
  727.  
  728.     Note:  If you are using Xenix 386GT 2.3.1-2.3.3 you should install
  729.     xnx252b for ISA or xnx150 for MCA.  This is an improved SCSI driver
  730.     that yields a significant performance improvement.
  731.  
  732.  
  733. QC3.  Where is the `/u' filesystem I created?
  734.  
  735.     When you create filesystems during the install procedure or with
  736.     `mkdev hd', the filesystem is initialized but it isn't configured
  737.     into the system.  To perform that final step you need to run `mkdev
  738.     fs'.  For example, if you created a `/u' filesystem, run:
  739.  
  740.         mkdev fs /dev/u /u
  741.  
  742.  
  743. QC4.  `WARNING!! - mounting: <usr> as <news>' message when booting.
  744.  
  745.     Due to a bug in the `mkdev fs' program, filesystems mounted below
  746.     the root directory are labeled wrong.  For example, if you mount
  747.     a device `/dev/news' onto directory `/usr/spool/news', then you
  748.     will get a warning message when going into multi-user mode.  That's
  749.     because `mkdev fs' labels the filesystem with the first component
  750.     in the pathname (`usr' in this example) when it really should be
  751.     the last component in the pathname (`news' in this example).
  752.  
  753.     This message is merely an annoyance and will not hamper system
  754.     operation.  To eliminate the warning, relabel the filesystem with
  755.     the last component of the mount directory.  For the above example,
  756.     you may change the label from `usr' to `news' by running the command:
  757.  
  758.         fsname -s news /dev/news
  759.  
  760.  
  761. QC5.  `POSSIBLE FILE SIZE ERROR' when running `fsck'.
  762.  
  763.     If `fsck' says `POSSIBLE FILE SIZE ERROR I=nnnn' don't panic.  It
  764.     almost always means `fsck' found a `sparse file', not a true
  765.     filesystem error.  A sparse file has holes in it.  They are created
  766.     when a program skips over sections of a file it is writing.  The
  767.     Xenix filesystem doesn't even bother allocating disk blocks for
  768.     those holes, it just says the gaps are full of zeros.  The complaint
  769.     occurs because `fsck' calculates the number of disk blocks needed
  770.     to store the file, counts up the number of disk blocks actually
  771.     used by the file, and complains that the two don't match.
  772.  
  773.     When you get a file size error from `fsck' you should note both
  774.     the `I=nnnn' inode number logged in the message and the filesystem
  775.     which was being checked.  You can see what the file is by running
  776.     the following command:
  777.  
  778.         ncheck -i <nnnn> <fsname>
  779.  
  780.     where <nnnn> is the number logged in the error message and <fsname>
  781.     is the pathname of the filesystem device, e.g. `/dev/u'.  Chances
  782.     are the file will either be a dbm(S) database file (in which case
  783.     ignore the complaint, it's expected) or a `core' dump (in which
  784.     case delete the `core' file).
  785.  
  786.  
  787. QC6.  Is disk fragmentation curable?
  788.  
  789.     Not easily.  However, the steps to slow down fragmentation are
  790.     pretty simple.
  791.  
  792.     Xenix maintains a list of available disk blocks.  As files are
  793.     deleted, the released blocks are appended to this free list.
  794.     Ideally, adjacent disk blocks would be used to create and grow
  795.     files so that all the parts of the file sit together on the disk.
  796.     Disk blocks, unfortunately, are allocated to files in the order
  797.     they appear on the free list and without regard for location.
  798.     Eventually, new files will be created with their data blocks
  799.     scattered all around the disk.  This fragmentation is undesirable
  800.     because it slows down disk accesses.
  801.  
  802.     To slow down the tendency towards fragmentation, periodically
  803.     reorder the blocks in the free list.  To do this, dismount the
  804.     filesystem (with `/etc/umount') and run `fsck -S'.  You will get
  805.     a message saying:
  806.  
  807.         FILE SYSTEM NOT MODIFIED, STILL DIRTY.
  808.  
  809.     Don't worry -- ignore that message.
  810.  
  811.     To determine how badly your filesystems are fragmented, run
  812.     `fsanalyze' by Michael J. Young, from comp.sources.misc.  You will
  813.     need patchlevel 3 to analyze Xenix filesystems.
  814.  
  815.     The conventional cure for filesystem fragmentation is:
  816.  
  817.     - Make a full backup of the filesystem.  Use `cpio' (or `afio' if
  818.       you've got it).  Do NOT use `tar'.  It doesn't backup device
  819.       nodes, pipes, or directories.  You could use `dump', but we find
  820.       it awkward.  (n.b.  Earlier versions of this FAQ claimed that
  821.       `dump' would restore in a fragmented manner.  That is incorrect.
  822.       Sorry for the misinformation.)
  823.  
  824.     - Recreate an empty filesystem with `divvy' or `mkfs'.  `divvy'
  825.       is easier to use -- simply select the `create' option.  However,
  826.       `mkfs' will be required if you want a non-default number of
  827.       inodes.  Invoke `divvy' with:
  828.  
  829.         /etc/divvy -c 1 -b 1            # for 1st physical disk
  830.         /etc/divvy -c 1 -b 1 -p 1       # for 2nd physical disk
  831.  
  832.     - Reload the filesystem from the backup.
  833.  
  834.     - Regenerate the `lost+found' directory.  Run:
  835.  
  836.         # Substitute appropriate name for `foo'.
  837.         /etc/fsck /dev/foo
  838.         /etc/mount /dev/foo /foo
  839.         mkdir /foo/lost+found
  840.         for i in 1 2 3 4 5 6 7 8 ; do
  841.             for j in 1 2 3 4 5 6 7 8 ; do
  842.                 touch /foo/lost+found/x$i$j
  843.             done
  844.         done
  845.         rm /foo/lost+found/x??
  846.         /etc/umount /dev/foo
  847.  
  848.     Be very careful with this procedure.  We suggest you verify your
  849.     backup is readable before zapping the filesystem.  One mistake
  850.     (especially when running `mkfs' or `divvy') will trash everything.
  851.     The filesystem you trash may be your own.
  852.  
  853.  
  854. QC7.  Can I put a CD-ROM drive on my Xenix system?
  855.  
  856.     No.  Sure, it would be easy for somebody to write a device driver
  857.     to talk to a CD-ROM drive.  But that's not the whole story.  If
  858.     you want to use a CD-ROM, you need to be able to mount it as an
  859.     ISO-9660/High Sierra filesystem.  That's not so easy.  See the
  860.     FAQ on NFS for additional info.
  861.  
  862.  
  863.  
  864. ------------------------------
  865.  
  866. Subject: ***** SECTION D - Communications Questions
  867.  
  868.  
  869. QD1.  How do I add more than 2 COM ports?
  870.  
  871.     Dumb serial cards (and internal modems) may be configured for Xenix
  872.     as COM3 and COM4 -- with one big caveat.  Each COM port requires its
  873.     own interrupt number.  If you have an unused IRQ and the Development
  874.     System, you may build additional COM ports into the kernel.  To
  875.     illustrate the procedure, we will add a COM3 configured as follows:
  876.  
  877.         I/O Addr: 0x3E8
  878.         IRQ:      5
  879.         device:   /dev/tty3a    Major=5, Minor=4
  880.                   /dev/tty3A    Major=5, Minor=132
  881.  
  882.     Serial devices are a two-fer, you get a "direct" device (tty3a)
  883.     and a "modem control" device (tty3A).  The two are distinguished
  884.     by the minor device numbers -- add 128 to get the "modem control"
  885.     device number.
  886.  
  887.     The device minor number you select *must* be in the range of 0
  888.     through 15 inclusive.  That's because the driver does bit twiddling
  889.     that assumes the device unit number is located in the four least
  890.     significant bits of the minor number.  (Older versions of this
  891.     message not only failed to point this out, but gave an example
  892.     that would not work due to a bogus minor device number selection.)
  893.  
  894.     1.  Edit `/usr/sys/io/sioconf.c'.
  895.  
  896.         The two lines in this file that describe COM1 and COM2 are:
  897.  
  898.             {0,IBM_BOARD,  1,4,0,  (sd)0x3f8,0,     0,MCRBIT3}, /*ibm COM1*/
  899.             {1,IBM_BOARD,  1,3,8,  (sd)0x2f8,0,     0,MCRBIT3}, /*ibm COM2*/
  900.  
  901.         Add a line that says:
  902.  
  903.             {2,IBM_BOARD,  1,5,4,  (sd)0x3e8,0,     0,MCRBIT3}, /*ibm COM3*/
  904.  
  905.         See `/usr/sys/io/sioconf.h' for details.
  906.  
  907.     2.  Edit `/usr/sys/conf/master'.
  908.  
  909.         The serial ports are defined by the line:
  910.  
  911.             sio     4    0577 104     sio   0   0   5   1   7   3   4  33  34
  912.  
  913.         The last four fields define the interrupt numbers used.  Change
  914.         the `33' to a `5' since COM3 will be on IRQ5.  For reference,
  915.         here is the mapping between IRQ lines and the master file
  916.         `magic numbers':
  917.  
  918.             IRQ0  0       IRQ4  4       IRQ8  30      IRQ12  34
  919.             IRQ1  1       IRQ5  5       IRQ9  31      IRQ13  35
  920.             IRQ2  31      IRQ6  6       IRQ10 32      IRQ14  36
  921.             IRQ3  3       IRQ7  7       IRQ11 33      IRQ15  37
  922.  
  923.     3.  Rebuild the kernel.  Run:
  924.  
  925.             cd /usr/sys/conf
  926.             make
  927.  
  928.         Do not use `link_xenix' here.  You need to run `make' to get
  929.         `sioconf.o' and the kernel data files rebuilt.
  930.  
  931.     4.  Install the new kernel.  Run:
  932.  
  933.             /usr/sys/conf/hdinstall
  934.  
  935.         This will make a backup of your current kernel to `/xenix.old'.
  936.  
  937.     5.  Create the device nodes.  Run:
  938.  
  939.             mknod /dev/tty3a c 5 4
  940.             mknod /dev/tty3A c 5 132
  941.  
  942.     Reboot your system, and the new serial port should be there.
  943.  
  944.  
  945. QD2.  How do I set a 19,200 baud rate?
  946.  
  947.     For historical reasons, terminal speeds of 19200 and 38400 are
  948.     called `EXTA' and `EXTB'.  So, in the `/etc/gettydefs' file you
  949.     need to say `EXTA' and `EXTB', not 19200 and 38400.  These speeds
  950.     are already available there as entries `n' and `o', respectively.
  951.  
  952.     Similarly, with the `stty' command you need to say:
  953.  
  954.         stty 9600       # set to 9600
  955.         stty exta       # set to 19200
  956.         stty extb       # set to 39400
  957.  
  958.     A smart serial card is recommended for these two highest speeds.
  959.  
  960.  
  961. QD3.  How can I have more mscreen(C) sessions?
  962.  
  963.     The mscreen(C) facility provides multiple sessions from a serial terminal
  964.     by `multiplexing' your terminal (tty) line onto several pseudo-terminal
  965.     (pty) lines.  Xenix is shipped with eight ptys enabled, that provides
  966.     a system-wide limit of eight sessions through the mscreen(C) command.
  967.  
  968.     First off, you need to determine whether you are allocating mscreen(C)
  969.     sessions wisely.  For example, SCO ships an `/etc/mscreencap' file
  970.     that runs six sessions on a WY-60 terminal.  If you edit `mscreencap'
  971.     and cut this down to three you immediately double the number of people
  972.     who can run mscreen(C).
  973.  
  974.     You cannot increase this number beyond eight if you are running TCP/IP.
  975.     (More about this in a moment.)  If you are not running TCP/IP, then
  976.     you can increase the number of possible mscreen(C) sessions by:  first
  977.     creating more ptys in the kernel, second creating the device nodes
  978.     for the new ptys, and finally placing a `getty' upon each of these
  979.     new ptys.
  980.  
  981.     To create more ptys in the kernel, increase the `nspttys' kernel
  982.     parameter.  With Xenix 2.3.4, run the `configure' command interactively
  983.     and select the `Multiscreens' option.  For older versions of Xenix,
  984.     run `configure' manually.  For example, to provide sixteen ptys, run:
  985.  
  986.         cd /usr/sys/conf
  987.         ./configure nspttys=16
  988.  
  989.     Once `nspttys' is set, run `link_xenix' and `hdinstall' to build and
  990.     install a new kernel.
  991.  
  992.     Next, you need to create the device nodes in the /dev directory for
  993.     these additional ptys.  Unfortunately, mscreen(C) uses a very poor
  994.     naming strategy for ptys beyond the 8th.  Once you go beyond the
  995.     /dev/ttyp7 in the base Xenix distribution, mscreen(C) next looks for
  996.     not /dev/ttyp8, but rather /dev/ttyp01.  Therefore you should create
  997.     the eighth pty with the commands:
  998.  
  999.         cd /dev
  1000.         mknod ttyp01 c 54 8
  1001.         mknod ptyp01 c 55 8
  1002.         chmod 666 ptyp01
  1003.         chmod 644 ttyp01
  1004.  
  1005.     You might notice that these names are the same ones used by `rlogind'
  1006.     and `telnetd' under SCO TCP/IP.  Unfortunately, to use these ptys for
  1007.     mscreen(C) you need to place a `getty' on them -- but if you do then
  1008.     rlogin/telnet will break.  Those running TCP/IP (and not weak of heart)
  1009.     can try editing the `/dev/ttyp' string in the `mscreen' binary and
  1010.     totally rename the pty devices.
  1011.  
  1012.     An alternative method to relieve the conflict between `mscreen'
  1013.     and TCP/IP is to use an `.mscreenrc' file.  If you create a surplus
  1014.     of TCP/IP ptys, you can steal some of them for `mscreen'.  Just
  1015.     create an `.mscreenrc' and enter the names of the ptys you want
  1016.     `mscreen' to use.  Since the TCP/IP utilities start at the bottom,
  1017.     steal from the top and work down.  The catch?  You have to put an
  1018.     `.mscreenrc' file into the home directory of *every* user who will
  1019.     be using `mscreen'.  Bleych.
  1020.  
  1021.     If necessary, ensure you edit `/etc/ttys' to add the new ptys.
  1022.     Don't forget to `enable' the lines to start a `getty' on them.
  1023.  
  1024.  
  1025. QD4.  Upgraded to 2.3.4 and flow control broke with mscreen(C).
  1026.  
  1027.     The 2.3.4 version of mscreen(C) was changed to run the tty line
  1028.     totally raw.  This is required so that the ^S and ^Q keys are
  1029.     passed on to programs that need them, such as `emacs' and Foxbase.
  1030.     An unfortunate side effect of handling flow control on the other
  1031.     side of the session rather than directly by the tty is that response
  1032.     to flow control is a lot more sluggish.  Now, when you hit ^S you
  1033.     might get another screenful of data before the display actually
  1034.     freezes.
  1035.  
  1036.     If you never run any applications that require full 8-bit transparency,
  1037.     one way to make flow control more responsive is to rename `mscreen'
  1038.     to `/usr/bin/mscreen.sco' and install the following script in its
  1039.     place:
  1040.  
  1041.         :
  1042.         tty=`tty`
  1043.         ( sleep 5 ; stty ixon <$tty ) &
  1044.         exec mscreen.sco
  1045.  
  1046.  
  1047. QD5.  Terminals act funny, modems drop characters, help!!
  1048.  
  1049.     If you are losing characters on your serial lines, consider the
  1050.     following steps:
  1051.  
  1052.     * Ensure that flow control is working right.
  1053.  
  1054.     * If you are running dumb COM ports, either upgrade the UART chips
  1055.       to 16550As or switch to a smart serial card.
  1056.  
  1057.     * If you have a lot of users or lots of high speed data lines,
  1058.       increase the number of `clist' buffers in the kernel.
  1059.  
  1060.     * If you upgraded to 16550A UARTs and this helped but did not
  1061.       solve the problem, then adjust the FIFO trigger level.
  1062.  
  1063.     * If you are running high speed lines on a loaded system, adjust
  1064.       the `ttyhog' value.
  1065.  
  1066.     When diagnosing serial problems, start at the top of this list
  1067.     and work down.  If your flow control is broke, it will do no good
  1068.     to go poking around inside your Xenix kernel.
  1069.  
  1070.  
  1071. QD6.  Does Xenix support 16550A UARTs?
  1072.  
  1073.     The guts of a standard COM port is a UART (universal asynchronous
  1074.     receiver/transmitter) chip.  Most serial ports use the 16450 or
  1075.     an equivalent chip.  The 16550A is a pin-compatible, drop in
  1076.     replacement which adds 16-characters of on-chip FIFO buffering.
  1077.     The FIFOs reduce system loading and increase performance.
  1078.  
  1079.     Starting with 2.3.4, the `sio' driver recognizes 16550A UARTs and
  1080.     enables the on-chip FIFOs.  Older versions of Xenix merely treat
  1081.     this chip as an expensive 16450.  You can get 16550A support with
  1082.     any version of Xenix by installing the FAS driver written by Uwe
  1083.     Doering and based upon Jim Murray's `asy' driver.  FAS was published
  1084.     in alt.sources, and is available at most reputable archive sites.
  1085.  
  1086.     We recommend sticking with the National Semiconductor NS16550A.
  1087.     Many manufactures make usable 16450 clones, but some of the 16550
  1088.     compatible chips aren't so compatible.  Also, older versions of
  1089.     the 16550 are known to be broken.  Ensure yours have an `A' suffix.
  1090.  
  1091.  
  1092. QD7.  How do I increase the number of `clists'?
  1093.  
  1094.     Xenix buffers terminal characters in data structures called
  1095.     `clists'.  There is a fixed pool of clists on the system, and when
  1096.     that supply is exhausted incoming characters are dropped.  Therefore,
  1097.     the more active users you have on your system, the larger this
  1098.     pool of clists should be.  The default configuration is 100 clists.
  1099.     Each terminal line requires an average of 5 to 10 clists.  High
  1100.     speed modems need more.  A conservative strategy would be to
  1101.     allocate 15 clists per active terminal.  For example, if you have
  1102.     16 serial ports and 4 console screens active at once, allocate
  1103.     (16+4)*15 or 300 clists.
  1104.  
  1105.     To see the number of clists on your system, login as root and run:
  1106.  
  1107.         cd /usr/sys/conf
  1108.         ./configure -y NCLIST
  1109.  
  1110.     To change the number of clists, say to 300, login as root and run:
  1111.  
  1112.         cd /usr/sys/conf
  1113.         ./configure NCLIST=300
  1114.  
  1115.     then rebuild and install a new kernel and reboot.
  1116.  
  1117.  
  1118. QD8.  How do I change the 16550A trigger level?
  1119.  
  1120.     If installing a 16550A UART helped but didn't totally fix a lost
  1121.     character problem, and your system is heavily loaded, then there
  1122.     is something else you can try.  If you installed a 16550A and
  1123.     there was no effect at all, then skip this -- it won't help.
  1124.  
  1125.     The Xenix `sio' driver initializes the 16550A with a trigger level
  1126.     of 14.  This means that under continual data streams the UART will
  1127.     wait until 14 characters accumulate before telling Xenix to come
  1128.     get them.  This gives the system two character times to get in
  1129.     and service the COM port.  If Xenix does not service the port in
  1130.     that time the 16-character buffer will overflow and and characters
  1131.     will be dropped.  This might happen on a heavily loaded system.
  1132.  
  1133.     The trigger level is initialized at boot time from the 16-byte
  1134.     `sio_fifoctl[]' array.  This array specifies the UART control
  1135.     register initialization values for device minor numbers 0 through
  1136.     15.  Or more exactly, the minor number is ANDed with 0x0F to get
  1137.     the index into this array.  For example, the initialization for
  1138.     /dev/tty2a (minor=8) is in `sio_fifoctl[8]'.  The possible values
  1139.     are as follows:
  1140.  
  1141.         sio_fifoctl:    0xCF    0x8F    0x4F    0x0F
  1142.         trigger level:   14      8       4       1
  1143.  
  1144.     The standard value is 0xCF.  A smaller value will notify the system
  1145.     earlier that characters are waiting, thus providing the system
  1146.     more time to service the port, but increasing the number of
  1147.     interrupts generated by the port.
  1148.  
  1149.     As an example, here is how to change the trigger level for /dev/tty2a
  1150.     (and /dev/tty2A) to 8 characters (code=0x8F):
  1151.  
  1152.         cp /xenix /xenix.save           # make a backup!
  1153.         adb -w /xenix                   # use "/etc/_fst" if no "adb"
  1154.         * sio_fifoctl+8/x
  1155.         sio_fifoctl+0x8:        0xcfcf
  1156.                                   | | 
  1157.                                   | `---- This is the 8-bit value for the
  1158.                                   |          port we want (minor=8).
  1159.                                   |
  1160.                                   `------ This is the 8-bit value for the
  1161.                                           next port (minor=9).
  1162.         * sio_fifoctl+0x8/w 0xcf8f
  1163.         sio_fifoctl+0x8:        0xcfcf= 0xcf8f
  1164.         * $q
  1165.  
  1166.  
  1167. QD9.  How do I adjust the `ttyhog' value?
  1168.  
  1169.     Since Xenix has a fixed pool of clists, the kernel tries to prevent
  1170.     one tty from hogging all of them.  The limit is defined by `ttyhog',
  1171.     and defaults to 256 (0x100 hex).  This limit might be too low if
  1172.     you've got some particularly fast devices on a particularly slow
  1173.     system.  To change the `ttyhog' value you must patch the kernel
  1174.     image.  The following increases `ttyhog' to 512 (0x200 hex).
  1175.  
  1176.         cp /xenix /xenix.save           # make a backup!
  1177.         adb -w /xenix                   # use "/etc/_fst" if no "adb"
  1178.         * ttyhog/x
  1179.         _ttyhog:        0x100
  1180.         * ttyhog/w 0x200
  1181.         _ttyhog:        0x100=  0x200
  1182.         * $q
  1183.  
  1184.  
  1185. QD10.  BSD based uucp can't connect to my machine.
  1186.  
  1187.     BSD based uucp sends even parity.  Xenix uucp expects no parity.
  1188.     Add:
  1189.  
  1190.         "" P_ZERO
  1191.  
  1192.     to the chat script in their (not your) `Systems' or `L.sys' file.
  1193.     For example, the following works on a Sun 3:
  1194.  
  1195.         xnxbox Any uucp 19200 5553333 "" P_ZERO "" \r in:--in: nuucp
  1196.  
  1197.  
  1198. QD11.  uucp truncates my system name to seven characters!
  1199.  
  1200.     This misfeature was introduced in the xnx155b supplement.  The
  1201.     story we hear is that SCO broke their `uucp' to cater to systems
  1202.     that choke on long system names.  There is a workaround.  For
  1203.     system name = `verylongname', add to every record in the
  1204.     /usr/lib/uucp/Permissions file:
  1205.  
  1206.         MYNAME=verylongname
  1207.  
  1208.     Next, rename /usr/bin/uuname to /usr/bin/uuname.sco.  Replace
  1209.     /usr/bin/uuname with:
  1210.  
  1211.         :
  1212.         if [ $# -ne 1 -o "X$1" != "X-l" ] ; then
  1213.             exec /usr/bin/uuname.sco $@
  1214.             exit 1
  1215.         fi
  1216.         head -1 /etc/systemid
  1217.         exit $?
  1218.  
  1219.     This allows programs using `uuname' to receive the correct,
  1220.     untruncated name.
  1221.  
  1222.  
  1223. QD12.  What is the uucp `windows' patch?
  1224.  
  1225.     uucp transmits data in packets, usually 64 bytes apiece.  An
  1226.     acknowledgment is required for every packet sent -- but not
  1227.     immediately.  A window of unacknowledged packets is allowed.  The
  1228.     default window size is three, that means `uucico' won't stop
  1229.     sending unless it falls more than three packets behind.  A three
  1230.     packet window isn't big enough for very fast media and long delay
  1231.     media.  The `uucico' binary can be patched to increase the window
  1232.     size by the following manual procedure:
  1233.  
  1234.         cd /usr/lib/uucp
  1235.         cp uucico uucico.old            # make a backup copy!!
  1236.         adb -w uucico
  1237.         * windows/x                     # display windows value
  1238.         _windows:       0x3
  1239.         * windows/w 7                   # change it to seven
  1240.         _windows:       0x3=    0x7
  1241.         * $q                            # done
  1242.  
  1243.     If you have Xenix 2.3.4 but not the Development System, use
  1244.     `/etc/_fst' instead of `adb'.  If you can't find adb on your
  1245.     system, look on the N02 disk.
  1246.  
  1247.     This change increases the window size to seven -- the maximum
  1248.     possible.  A similar change must be performed on the remote system's
  1249.     uucico because the actual window size is negotiated as part of
  1250.     the protocol startup.
  1251.  
  1252.  
  1253. QD13.  uucp gives `alarm' messages, eventually dies.
  1254.  
  1255.     If you run uucp in debugging mode (`uutry -x9') and see it get
  1256.     stuck like:
  1257.  
  1258.         alarm 1
  1259.         send 37777777621
  1260.         alarm 2
  1261.         send 37777777621
  1262.         alarm 3
  1263.         send 37777777621
  1264.         alarm 4
  1265.         send 37777777621
  1266.  
  1267.     and eventually die, this means your system got jammed waiting for
  1268.     a response that never came.  The most common cause of this problem
  1269.     running uucp across a modem with XON/XOFF flow control enabled
  1270.     (e.g. a Telebit modem with S58=3).  You can't do that; you must
  1271.     run with no flow control or RTS/CTS handshaking (on a Telebit that
  1272.     would be S58=0 or S58=2, respectively).  Other possible causes of
  1273.     this problem are serial cards with broken handshaking or running
  1274.     out of clists.
  1275.  
  1276.  
  1277. ------------------------------
  1278.  
  1279. Subject: ***** SECTION E - Display and Graphics Questions
  1280.  
  1281.  
  1282. QE1.  How come Xenix won't recognize my VGA display?
  1283.  
  1284.     Probably because you are running a very old version of Xenix.
  1285.     VGA support was introduced in release 2.3.0.
  1286.  
  1287.  
  1288. QE2.  How can I do a printscreen under Xenix?
  1289.  
  1290.     MS-DOS users can produce a screen printout with one keystroke.
  1291.     Xenix does not offer this builtin capability.  SCO's MultiView
  1292.     product provides this.  Also, it can be simulated with the following
  1293.     script:
  1294.  
  1295.         :
  1296.         # @(#) prtscrn     Print Screen
  1297.         # execute from cu as ~!prtscrn
  1298.         oldstty=`stty -g`               # save stty
  1299.         stty -echo ixon ixoff -ixany    # no echo
  1300.         /bin/echo '\033[2i\c'           # send screen to host
  1301.         # grab 24 lines, clean up trailing blanks, print it
  1302.         sed -e 's/ *$//' -e 24q | lp
  1303.         stty $oldstty                   # put stty back when done.
  1304.  
  1305.     Another approach is the `prtscrn2' program by Chip Rosenthal.  It
  1306.     grabs the contents of any console screen and sends it to standard
  1307.     output.  See comp.sources.misc.
  1308.  
  1309.  
  1310. QE3.  How can I blank the console display when it is idle?
  1311.  
  1312.     A screen blanker is built into the new console driver, provided
  1313.     by 2.3.4 or 2.3.3 via SLS xnx296a.  It is finicky about the hardware
  1314.     it likes.  Anything less than a VGA display will not work.  To
  1315.     enable the blanker, as root:
  1316.  
  1317.         cd /usr/sys/conf
  1318.         ./configure
  1319.  
  1320.     Select option 6 (MultiScreens) and enter a non-zero value for TBLINK.
  1321.     (The manual incorrectly calls this TBLNK.)  Then ./link_xenix and
  1322.     ./hdinstall.
  1323.  
  1324.     If the built-in blanker doesn't like your video adapter or you
  1325.     have an older version of Xenix, save the following script to a
  1326.     file and run it out of cron every fifteen minutes or so.  It will
  1327.     check if all console multiscreens have been idle for ten minutes
  1328.     or more, and if so switch the display to an unused screen (as
  1329.     configured by SCRN).
  1330.  
  1331.         :
  1332.         who -u | awk '
  1333.                 $2 !~ /^tty[01][0-9]$/  {next}    # Not a console screen.
  1334.                 $6 == "."               {exit(1)} # Screen in use.
  1335.                 $6 ~ /^0:0/             {exit(1)} # Not idle long enough.
  1336.         ' >/dev/null 2>&1
  1337.         if [ $? -eq 0 ] ; then
  1338.                 # Leading "\0" aborts any pending escape sequence.
  1339.                 SCRN=10
  1340.                 echo "\0\033[${SCRN}z\c" >/dev/tty01
  1341.         fi
  1342.  
  1343.  
  1344. QE4.  How can I do graphics under Xenix?  What programs are available?
  1345.  
  1346.     There are two approaches to graphics programming.  At the very
  1347.     lowest level, the screen(HW) manual page describes ioctl() codes
  1348.     to access the video display memory and controller.  Device-independent
  1349.     graphics is provided by the Computer Graphics Interface (CGI)
  1350.     package included with the Xenix Development System.  CGI drivers
  1351.     are provided for VGA, EGA, and Hercules displays; Epson, LaserJet,
  1352.     and Postscript printers; and HP plotters.  Several programs have
  1353.     been posted to the net that run under CGI, such as gnuplot,
  1354.     starchart, and gif.  See comp.sources.misc.
  1355.  
  1356.  
  1357. QE5.  CGI graphics mangles grey scale on a mono VGA.
  1358.  
  1359.     SCO fixed their monochrome VGA driver in version 2.3.3.   The
  1360.     default color mapping in CGI maps many colors with the identical
  1361.     total intensity. They appear as the same shade grey-scale display.
  1362.     Try using the CGI functions vs_color() and/or vsc_table() to create
  1363.     a color map that works with your display.  Try vsf_style() to
  1364.     create hatching or other fill-patterns in place of colors.
  1365.  
  1366.  
  1367. QE6.  CGI graphics fail on a LaserJet in landscape mode.
  1368.  
  1369.     A bug in the CGI 1.1.0 LaserJet driver causes all output to
  1370.     appear on a single line.  In landscape mode the driver puts out
  1371.     a spurious escape sequence `\033&a864V' that forces all output
  1372.     to the same position on the page.  You can either remove the
  1373.     offending escape sequence from the driver with a binary editor
  1374.     (keep a backup copy), or use a filter to clobber that sequence
  1375.     from the output.
  1376.  
  1377.  
  1378. ------------------------------
  1379.  
  1380. Subject: ***** SECTION F - Networking Questions
  1381.  
  1382.  
  1383. QF1.  What do I need to run TCP/IP?
  1384.  
  1385.     The SCO TCP/IP Run-Time includes *almost* everything you need to
  1386.     connect a Xenix system to a TCP/IP network.  You get the drivers
  1387.     for several popular network interface cards (NICs), the protocol
  1388.     stacks, and most of the familiar programs like `telnet' and `rcp'.
  1389.     We say `almost' because the TCP/IP package requires Streams, and
  1390.     that's an extra-cost option.  You need to buy and install the
  1391.     Streams Run-Time before you can load TCP/IP.  Furthermore, if you
  1392.     want to develop or compile network programs, you will need the
  1393.     TCP/IP Development System too.
  1394.  
  1395.  
  1396. QF2.  What do I need to run NFS?
  1397.  
  1398.     Unix. :-)
  1399.  
  1400.     Nobody offers an NFS for Xenix, and don't hold your breath waiting
  1401.     for one.  It is very difficult adding new filesystem types to
  1402.     Xenix.  The `FS' in NFS does stand for `File System' after all.
  1403.  
  1404.     Newer versions of Unix provide mechanisms that allow new filesystem
  1405.     types to be added easily (the `vnode' mechanism in BSD Unix and
  1406.     the `filesystem switch' in System V 3.2 and beyond).  With Xenix,
  1407.     the filesystem support must be coded right into the kernel.  The
  1408.     task of merging NFS code with VP/ix hacks, Xenix-net hacks, etc.
  1409.     is more than can be justified.  And because it requires kernel
  1410.     source, it is unlikely a third party would do this.
  1411.  
  1412.  
  1413. QF3.  How can I run uucp over TCP/IP?
  1414.  
  1415.     The Xenix `uucico' doesn't know about networking, and the Xenix
  1416.     TCP/IP package doesn't do anything to solve that problem.  Chip
  1417.     Rosenthal <chip@chinacat.unicom.com> has published a program called
  1418.     `uucpm' that works around this problem to allow an SCO Xenix system
  1419.     perform uucp transfers across the network.  Contact him if you
  1420.     need a copy.
  1421.  
  1422.  
  1423. QF4.  What does "NOTICE: tcp sum: src C06C6901, sum 0000B004" mean?
  1424.  
  1425.     That a bad TCP segment was received.  One possible reason for this
  1426.     is a buffer overrun caused by a slow system, a lousy network card,
  1427.     or a heavy network load.  Most TCP/IP implementations silently
  1428.     detect these errors and ask the remote system to re-transmit.
  1429.     SCO's TCP/IP decides to whine to the console as well.
  1430.  
  1431.     You can tell what the other system is by getting out your hex
  1432.     calculator (c.f. the bc(C) command) and plugging in the `src'
  1433.     address.  In the above example, 0xC0=192, 0x6C=108, 0x69=105, and
  1434.     0x01=1.  So the sending machine was 192.108.105.1.
  1435.  
  1436.     If you get these messages on occasion or only under heavy network
  1437.     load, don't worry too much.  If they are frequent then consider a
  1438.     faster network card with more buffering, a faster computer, or
  1439.     go looking for cabling problems.
  1440.  
  1441.     If you get tired of seeing these messages, you can shut them off:
  1442.  
  1443.         cp /xenix /xenix.save           # make a backup!
  1444.         adb -w /xenix                   # use "/etc/_fst" if no "adb"
  1445.         * tcpprintfs/d
  1446.         _tcpprintfs:    1               # currently "1" -> enabled
  1447.         * tcpprintfs/w 0                # set to "0" -> disabled
  1448.         _tcpprintfs:    0x1=    0x0
  1449.         * $q
  1450.  
  1451.  
  1452. ------------------------------
  1453.  
  1454. Subject: ***** SECTION X - Xenix and MS-DOS Interoperability Questions
  1455.  
  1456.  
  1457. QX1.  Can Xenix share a hard disk with MS-DOS?
  1458.  
  1459.     Yes.  SCO directly supports an MS-DOS 3.2 partition on the same disk as
  1460.     your Xenix partition.  You must:
  1461.  
  1462.         - Install MS-DOS 3.2 bootable partition as the FIRST partition.
  1463.  
  1464.         - Install Xenix bootable as the next partition.
  1465.  
  1466.         - Select Xenix as the `active' partition.
  1467.  
  1468.     At the
  1469.  
  1470.         Boot
  1471.         :
  1472.  
  1473.     prompt either type `dos' for MS-DOS boot or press ENTER for Xenix.
  1474.  
  1475.     If you create any other type of partition (e.g. one of the new,
  1476.     larger sized MS-DOS 5.0 partitions) or forget to create the MS-DOS
  1477.     partition before loading Xenix, then you can still access it by
  1478.     booting from a floppy disk.
  1479.  
  1480.     It is possible to provide `dual boot' capability for other partition
  1481.     types, for example MS-DOS 5.0 large partitions, by making a modified
  1482.     version of the /dos program.  The following instructions, based
  1483.     upon a procedure by Vic Michael <victor@alchemy.UUCP>, show how.
  1484.  
  1485.         su                              # become superuser
  1486.         cp /dos /dos5                   # make a new version of dos5 program
  1487.         adb -w /dos5                    # use "/etc/_fst" if no "adb"
  1488.         * 0x3f:0x61?i                   # examine instruction at 0x61
  1489.         0x3f:0x61:      add     al,0x4
  1490.         * 0x61?w 0x604                  # change '0x4' to '0x6'
  1491.         0x3f:0x61:      0x404=  0x604
  1492.         * 0x61?i                        # verify change
  1493.         0x3f:0x61:      add     al,0x6
  1494.         * $q
  1495.  
  1496.     Now, you can say `dos5' at the `Boot' prompt to start MS-DOS.  You
  1497.     will NOT, however, be able to use the `dos(C)' tools to access this
  1498.     partition from Xenix.
  1499.  
  1500.  
  1501. QX2.  Can Xenix access MS-DOS disks?
  1502.  
  1503.     Yes, with limitations.  The commands on the `dos(C)' manual page
  1504.     provide access to MS-DOS disks (floppy and fixed) under Xenix.
  1505.     The limitation is that only conventional MS-DOS 3.2 hard disk
  1506.     partitions can be recognized.  Extended MS-DOS 3.2, old MS-DOS
  1507.     1.0, and large MS-DOS 4.0/5.0 partitions cannot be accessed with
  1508.     the existing tools.
  1509.  
  1510.     If you run into problems with the dos(C) commands, check that
  1511.     `/etc/default/msdos' provides proper aliases for the A:, B:, etc.
  1512.     devices.  Also, if root can access the MS-DOS fixed disk but users
  1513.     can't, check the permissions on /dev/hd0d (the Xenix name of the
  1514.     MS-DOS partition on the first fixed disk).
  1515.  
  1516.     The `mtools' package by Emmet Gray in comp.sources.misc provides
  1517.     better handling of MS-DOS devices under Xenix.  Modify the
  1518.     `devices.c' file to understand Xenix device naming.
  1519.  
  1520.         #ifdef M_XENIX
  1521.         struct device devices[] = {
  1522.             {'A', "/dev/install",  0L, 12, 0, (int (*) ()) 0, 0, 0, 0},
  1523.             {'B', "/dev/install1", 0L, 12, 0, (int (*) ()) 0, 0, 0, 0},
  1524.             {'C', "/dev/hd0d",     0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  1525.             {'D', "/dev/hd1d",     0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  1526.             {'\0', (char *) NULL,  0L,  0, 0, (int (*) ()) 0, 0, 0, 0}
  1527.         };
  1528.         #endif /* M_XENIX */
  1529.  
  1530.     If you assign `/dev/install' to the `A' drive, you don't need to
  1531.     worry about disk density when reading and writing.  However, you
  1532.     need to specify the full device name when formatting.  For example,
  1533.     to format a high-density disk in drive A: you must specify the
  1534.     full device name:
  1535.  
  1536.         dosformat /dev/fd096ds15
  1537.  
  1538.  
  1539. QX3.  Can Xenix execute MS-DOS programs?
  1540.  
  1541.     Yes.  You must purchase SCO VP/ix.  VP/ix emulates an 8086 PC/XT
  1542.     running MS-DOS.  The compatibility provided by VP/ix is fair with
  1543.     a significant performance penalty.  VP/ix will not run programs
  1544.     that use 80286 or 80386 instruction codes.  VP/ix is not available
  1545.     for Xenix/286.
  1546.  
  1547.  
  1548. QX4.  Can MS-DOS execute Xenix programs?
  1549.  
  1550.     No.  With the Xenix Development System, you can compile programs
  1551.     to execute under MS-DOS with the `-dos' command line switch.
  1552.  
  1553.  
  1554. ------------------------------
  1555.  
  1556. Subject: ***** SECTION Z - The (in)Famous Xenix Cheat-Sheet
  1557.  
  1558.  
  1559. QZ1.  What the $%*&! is happening?
  1560.  
  1561.     Who am I?                           /usr/bin/who am i
  1562.     Where am I?                         /bin/pwd
  1563.     What am I doing?                    /bin/ps -f
  1564.     Am I having fun yet?                /usr/games/worms -R
  1565.     What's my user/group id?            /usr/bin/id
  1566.     Who did I login as?                 /usr/bin/logname
  1567.     What's my terminal?                 /bin/tty
  1568.     What are my terminal parameters?    /bin/stty -a
  1569.     Is terminal flow control working?   /usr/games/stars
  1570.     What is my current crontab file?    /usr/bin/crontab -l
  1571.     Do I have uucp jobs queued?         /usr/bin/uustat
  1572.     What is the system doing?           /usr/bin/w
  1573.     How is the system running?          /usr/bin/vmstat 10
  1574.     Has the system been swapping?       /usr/bin/vmstat -s
  1575.     Open files, inodes, processes?      /bin/pstat | grep '^[0-9]'
  1576.     What are the kernel parameters?     /usr/sys/conf/configure -x
  1577.     What versions are installed?        egrep "#prd|#set|#rel" /etc/perms/*
  1578.     What are the hardware settings?     /etc/hwconfig -h
  1579.     Is /etc/passwd correct?             /etc/pwcheck
  1580.     Is /etc/group correct?              /etc/grpcheck
  1581.     Is /etc/gettydefs correct?          /etc/getty -c /etc/gettydefs
  1582.     Do all files have owners?           /usr/bin/quot
  1583.     Who is using all the disk space?    /usr/bin/quot
  1584.     When did joe last login?            /usr/bin/last joe
  1585.     What files are owned by UID=944?    find / -user 944 -exec l -d {} \;
  1586.     Are file perms/owners set OK?       cd / ;
  1587.                                           /etc/fixperm -n /etc/perms/rts
  1588.     How about perms on uucp files?      cd / ;
  1589.                                           /etc/fixperm -nd UUCP /etc/perms/rts
  1590.     Check uucp file consistency.        /usr/lib/uucp/uucheck
  1591.     What are uucp access permissions?   /usr/lib/uucp/uucheck -v
  1592.     What is the print spooler doing?    /usr/bin/lpstat -t
  1593.     Stop the scheduler.                 /usr/lib/lpshut
  1594.     Restart a printer.                  /usr/lib/accept printer_name ;
  1595.                                           /usr/bin/enable printer_name
  1596.  
  1597.     [Following apply only if TCP/IP is installed.]
  1598.  
  1599.     Where am I?                         /usr/bin/hostname
  1600.     Is system foo alive?                /usr/bin/ping foo
  1601.     What machines are connected?        /usr/bin/netstat
  1602.     How is the network doing?           /usr/bin/netstat 10
  1603.     Where are the packets going?        /usr/bin/netstat -r
  1604.     Network not work?                   /usr/bin/netstat -s
  1605.  
  1606.     [Thanks to Jeff Liebermann.]
  1607.  
  1608.  
  1609. ------------------------------
  1610.  
  1611. Subject: ***** The Fine Print
  1612.  
  1613. This collection is Copyright 1992-1994, Unicom Systems Development, Inc.
  1614. All rights reserved.  Permission granted to reproduce and distribute this
  1615. document provided this notice remains intact and any changes to the document
  1616. are clearly marked.  We have tried to review all information, but cannot
  1617. guarantee it for any particular purpose.  We do not offer any warranties or
  1618. representations, nor do we accept any liability for any damage resulting
  1619. from the use or misuse of information or procedures in this document.
  1620.  
  1621. [ end of sco-xenix 1.58 ]
  1622.  
  1623.